package com.cheguo.zeus.biz.join.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 加盟车商信息导出表
 * </p>
 *
 * @author zdf
 * @since 2018-05-28
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("join_car_dealer_contract_view")
public class JoinCarDealerContractView extends Model<JoinCarDealerContractView> {

    private static final long serialVersionUID = 1L;


    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 车商id(car_dealer_info.id)
     */
    @TableField("dealer_id")
    private Long dealerId;
    /**
     * 车行名称
     */
    @TableField("dealer_name")
    private String dealerName;
    /**
     * 合同编号
     */
    @TableField("contract_no")
    private String contractNo;
    /**
     * 加盟类型  1:加盟店; 2:特许店; 3:认证店
     */
    @TableField("join_type")
    private Integer joinType;
    /**
     * 加盟状态 0:未发起; 1:审核中; 2:审核通过
     */
    @TableField("join_status")
    private Integer joinStatus;
    /**
     * 分公司名称
     */
    @TableField("org_name")
    private String orgName;
    /**
     * 业务员姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 业务员手机号
     */
    @TableField("user_phone")
    private String userPhone;
    /**
     * app是否注册 1:已开户 2:未开户
     */
    @TableField("open_user_status")
    private Integer openUserStatus;
    /**
     * 省 中文名称
     */
    @TableField("province_name")
    private String provinceName;
    /**
     * 市 中文名称
     */
    @TableField("city_name")
    private String cityName;
    /**
     * 区 中文名称
     */
    @TableField("area_name")
    private String areaName;
    /**
     * 补登状态，0：未补登，1：已补登
     */
    @TableField("board_status")
    private Integer boardStatus;
    /**
     * 合同到期日期
     */
    @TableField("contract_expire_date")
    private String contractExpireDate;
    /**
     * 合同签订日期
     */
    @TableField("contract_sign_date")
    private String contractSignDate;
    /**
     * 合同归档时间
     */
    @TableField("contract_file_time")
    private Date contractFileTime;
    /**
     * 合同审核时间
     */
    @TableField("contract_approve_time")
    private String contractApproveTime;
    /**
     * 企业认证 0未认证 1认证中 2已认证 3认证失败
     */
    @TableField("verify_status")
    private Integer verifyStatus;
    /**
     * 中安认证状态 0未认证 1认证中 2已认证 3认证失败
     */
    @TableField("za_verify_status")
    private Integer zaVerifyStatus;
    @TableField("purse_status")
    private Integer purseStatus;
    @TableField("create_time")
    private Date createTime;
    @TableField("modify_time")
    private Date modifyTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDealerId() {
        return dealerId;
    }

    public void setDealerId(Long dealerId) {
        this.dealerId = dealerId;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public Integer getJoinType() {
        return joinType;
    }

    public void setJoinType(Integer joinType) {
        this.joinType = joinType;
    }

    public Integer getJoinStatus() {
        return joinStatus;
    }

    public void setJoinStatus(Integer joinStatus) {
        this.joinStatus = joinStatus;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getOpenUserStatus() {
        return openUserStatus;
    }

    public void setOpenUserStatus(Integer openUserStatus) {
        this.openUserStatus = openUserStatus;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getBoardStatus() {
        return boardStatus;
    }

    public void setBoardStatus(Integer boardStatus) {
        this.boardStatus = boardStatus;
    }

    public String getContractExpireDate() {
        return contractExpireDate;
    }

    public void setContractExpireDate(String contractExpireDate) {
        this.contractExpireDate = contractExpireDate;
    }

    public String getContractSignDate() {
        return contractSignDate;
    }

    public void setContractSignDate(String contractSignDate) {
        this.contractSignDate = contractSignDate;
    }

    public Date getContractFileTime() {
        return contractFileTime;
    }

    public void setContractFileTime(Date contractFileTime) {
        this.contractFileTime = contractFileTime;
    }

    public String getContractApproveTime() {
        return contractApproveTime;
    }

    public void setContractApproveTime(String contractApproveTime) {
        this.contractApproveTime = contractApproveTime;
    }

    public Integer getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyStatus(Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public Integer getZaVerifyStatus() {
        return zaVerifyStatus;
    }

    public void setZaVerifyStatus(Integer zaVerifyStatus) {
        this.zaVerifyStatus = zaVerifyStatus;
    }

    public Integer getPurseStatus() {
        return purseStatus;
    }

    public void setPurseStatus(Integer purseStatus) {
        this.purseStatus = purseStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
